Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve gcov coverage reporting logic (and other minor changes) #766

Merged
merged 2 commits into from
Mar 21, 2020

Conversation

KineticTheory
Copy link
Collaborator

@KineticTheory KineticTheory commented Mar 13, 2020

Background

  • The new covrep make target didn't work quite right for client projects.
  • Several small tweaks need to be implemented for correctness.

Description of changes

  • Update the top-level README.md with better descriptions of published Draco components. Also Update the copyright block and author list to reflect changes introduced with the release of Draco-7_5_0.
  • In compilerEnv.cmake, update logic related to how the covrep target is created by allowing client projects to append to CODE_COVERAGE_IGNORE_REGEX. Also use the new block_indent cmake function to pring this value when generating a build tree with CODE_COVERAGE=ON.
  • In string_manip.cmake provide a new cmake function block_indent to make it easier to print formatted information when configuring a project.
  • Update vendor_libraries.cmake, to ensure that Draco's code coverage setup is called during project configuration. Also ensure that we search for the CUDA compiler.
  • Only parse ds++ if the clang-tidy static analyzer is enabled.
  • Minor cleanup in StackTrace and associated unit test.

Status

+ Update the top-level `README.md` with better descriptions of published Draco
  components.  Also Update the copyright block and author list to reflect
  changes introduced with the release of Draco-7_5_0.
+ In `compilerEnv.cmake`, update logic related to how the `covrep` target is
  created by allowing client projects to append to
  `CODE_COVERAGE_IGNORE_REGEX`. Also use the new `block_indent` cmake function
  to pring this value when generating a build tree with `CODE_COVERAGE=ON`.
+ In `string_manip.cmake` provide a new cmake function `block_indent` to make
  it easier to print formatted information when configuring a project.
+ Update `vendor_libraries.cmake`, to ensure that Draco's code coverage setup is
  called during project configuration.  Also ensure that we search for the CUDA
  compiler.
+ Only parse ds++ if the clang-tidy static analyzer is enabled.
+ Minor cleanup in `StackTrace` and associated unit test.
@KineticTheory KineticTheory added this to the Draco-7_6_0 milestone Mar 13, 2020
@KineticTheory KineticTheory self-assigned this Mar 13, 2020
@KineticTheory KineticTheory changed the title WIP: Improve gcov coverage reporting logic (and other minor changes) Improve gcov coverage reporting logic (and other minor changes) Mar 15, 2020
@codecov
Copy link

codecov bot commented Mar 18, 2020

Codecov Report

Merging #766 into develop will not change coverage by %.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           develop    #766   +/-   ##
=======================================
  Coverage     94.0%   94.0%           
=======================================
  Files          367     367           
  Lines        17230   17230           
=======================================
  Hits         16198   16198           
  Misses        1032    1032           

@KineticTheory
Copy link
Collaborator Author

@alexrlongne This is ready for review.

@alexrlongne alexrlongne merged commit ccea9f8 into lanl:develop Mar 21, 2020
@KineticTheory KineticTheory mentioned this pull request Mar 23, 2020
6 tasks
@KineticTheory KineticTheory deleted the improve_covrep_plus_more branch March 27, 2020 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants